package com.ruoyi.orders.service;

import com.ruoyi.orders.pojo.ZxGoods;
import com.ruoyi.orders.pojo.ZxOrders;
import com.baomidou.mybatisplus.extension.service.IService;
import com.ruoyi.orders.pojo.dto.ZxOrdersDto;
import com.ruoyi.orders.pojo.vo.OrderVo;

import java.util.List;

/**
* @author 陈嘉俊
* @description 针对表【zx_orders(订单)】的数据库操作Service
* @createDate 2023-12-18 16:11:50
*/
public interface ZxOrdersService extends IService<ZxOrders> {

    List<ZxOrders> getList();

    List<ZxOrdersDto> findListByGoodsName(String names);


    void deleteByIds(List<Integer> ids);

    Boolean doOrder(ZxOrdersDto zxOrdersDto) throws Exception;
    Boolean orderAble(ZxGoods goods);

    String importData(List<ZxOrders> ordersList, String operName);
}
